﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using TpBaseObjects.Base;

namespace TpBaseObjects.Objects {
    
    public class TitelObj : MyBaseModel {
    
        #region Members

        private int titelKey;
        private string titel;

        #endregion

        #region Constructor

        public TitelObj() {
        }

        #endregion

        #region Properties

        [DataMember]
        public string Titel {
            get { return this.titel; }
            set {
                if (this.titel == value) {
                    return;
                }
                this.titel = value;
                OnPropertyChanged(() => Titel);
            }
        }

        [DataMember]
        public int TitelKey {
            get { return this.titelKey; }
            set {
                if (this.titelKey == value) {
                    return;
                }
                this.titelKey = value;
                OnPropertyChanged(() => TitelKey);
            }
        }

        #endregion

    }
}
